<template>
	<view class="container">
		<view class="ul">
			<view class="li" @click="handleNav" :data-nav="0">
				<text class="iconfont iconbangzhushuoming"></text>
				<text class="title">任务说明</text>
			</view>
			<view class="li" @click="handleNav" :data-nav="1">
				<text class="iconfont iconbangzhushuoming"></text>
				<text class="title">接单说明</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		components: {

		},
		data() {
			return {
			}
		},
		onReady() {},
		methods: {
			handleNav (e) {
				let nav = e.currentTarget.dataset.nav;
				switch (nav){
					case 0:
					uni.navigateTo({
						url: "/pages/center/notice/taskInfo"
					})
						break;
						case 1:
						uni.navigateTo({
							url: "/pages/center/notice/orderInfo"
						})
							break;
					default:
						break;
				}
			}
		},
	}
</script>
<style>
	page {
		background: #f9fafc;
	}
</style>
<style scoped lang="scss">
	.container {
		.ul {
			margin-bottom: 20rpx;
			padding: 0 28rpx;
			background: #fff;
			.li {
				padding: 28rpx 0;
				&:last-child {
					border: none;
				}
				image {
					width: 76rpx;
					height: 76rpx;
					border-radius: 50%;
					vertical-align: middle;
				}
				.iconfont {
					font-size: 48rpx;
					color: #fc4250;
					vertical-align: middle;
				}
				.title {
					padding-left: 15rpx;
					font-size: 28rpx;
					color: #000000;
				}
				border-bottom: 1px solid #f8f8f8;
			}
		}
	}
</style>
